< previous page page_xv next page >

Page xv
26
Using Data Access Objects (DAO)
565
d6ef40187df115e88326dbc94f09ab9a.gif
Introduction to DAO
566
d6ef40187df115e88326dbc94f09ab9a.gif
Setting Up a DAO Project
567
d6ef40187df115e88326dbc94f09ab9a.gif
Opening an Existing Database
568
d6ef40187df115e88326dbc94f09ab9a.gif
Deciding Which Recordset Type to Use
569
d6ef40187df115e88326dbc94f09ab9a.gif
Using Tables
570
d6ef40187df115e88326dbc94f09ab9a.gif
Using Dynasets
571
d6ef40187df115e88326dbc94f09ab9a.gif
Using Snapshots
573
d6ef40187df115e88326dbc94f09ab9a.gif
Using a Forward-Only Recordset
574
d6ef40187df115e88326dbc94f09ab9a.gif
Placing Information Onscreen
575
d6ef40187df115e88326dbc94f09ab9a.gif
Accessing Information from Database Fields
575
d6ef40187df115e88326dbc94f09ab9a.gif
Displaying Data in the Sample Program
575
d6ef40187df115e88326dbc94f09ab9a.gif
Positioning the Record Pointer
576
d6ef40187df115e88326dbc94f09ab9a.gif
Using the Move Methods
577
d6ef40187df115e88326dbc94f09ab9a.gif
Using the Bookmark Property
578
d6ef40187df115e88326dbc94f09ab9a.gif
Using the Find Methods
579
d6ef40187df115e88326dbc94f09ab9a.gif
Setting the Current Index in a Table
581
d6ef40187df115e88326dbc94f09ab9a.gif
Using the Seek Method
581
d6ef40187df115e88326dbc94f09ab9a.gif
Using the PercentPosition and AbsolutePosition Properties
584
d6ef40187df115e88326dbc94f09ab9a.gif
Using Filters, Indexes, and Sorts
585
d6ef40187df115e88326dbc94f09ab9a.gif
Setting the Filter Property
585
d6ef40187df115e88326dbc94f09ab9a.gif
Setting the Sort Property
586
d6ef40187df115e88326dbc94f09ab9a.gif
Creating a New Index
586
d6ef40187df115e88326dbc94f09ab9a.gif
Considering Programs That Modify Multiple Records
587
d6ef40187df115e88326dbc94f09ab9a.gif
Using Loops
587
d6ef40187df115e88326dbc94f09ab9a.gif
Using SQL Statements
589
d6ef40187df115e88326dbc94f09ab9a.gif
Understanding Other Programming Commands
590
d6ef40187df115e88326dbc94f09ab9a.gif
Adding Records
590
d6ef40187df115e88326dbc94f09ab9a.gif
Editing Records
591
d6ef40187df115e88326dbc94f09ab9a.gif
Updating Records
591
d6ef40187df115e88326dbc94f09ab9a.gif
Deleting Records
592
d6ef40187df115e88326dbc94f09ab9a.gif
Introducing Transaction Processing
592
d6ef40187df115e88326dbc94f09ab9a.gif
From Here . . .
594
27
Using Remote Data Objects (RDO)
595
d6ef40187df115e88326dbc94f09ab9a.gif
Database Access Philosophies
596
d6ef40187df115e88326dbc94f09ab9a.gif
Working with ODBC
596
d6ef40187df115e88326dbc94f09ab9a.gif
Understanding ODBC Drivers
597
d6ef40187df115e88326dbc94f09ab9a.gif
Setting Up an ODBC Data Source
597
d6ef40187df115e88326dbc94f09ab9a.gif
The Remote Data Objects
603
d6ef40187df115e88326dbc94f09ab9a.gif
Comparison of RDO to DAO
603
d6ef40187df115e88326dbc94f09ab9a.gif
Accessing a Database with RDO
605
d6ef40187df115e88326dbc94f09ab9a.gif
Using the RemoteData Control
607
d6ef40187df115e88326dbc94f09ab9a.gif
Comparing the RDC and the Data Control
607
d6ef40187df115e88326dbc94f09ab9a.gif
Setting Up the RDC
608
d6ef40187df115e88326dbc94f09ab9a.gif
From Here . . .
609
28
Using ActiveX Data Objects (ADO)
611
d6ef40187df115e88326dbc94f09ab9a.gif
Introducing ADO
612
d6ef40187df115e88326dbc94f09ab9a.gif
Data Connection Methods
612
d6ef40187df115e88326dbc94f09ab9a.gif
Installation
612
d6ef40187df115e88326dbc94f09ab9a.gif
Setting Up a Data Source
613
d6ef40187df115e88326dbc94f09ab9a.gif
Using the ADO Data Control
614
d6ef40187df115e88326dbc94f09ab9a.gif
Setting Up the ADO Data Control
615
d6ef40187df115e88326dbc94f09ab9a.gif
Connecting the ADO Data Control to a Data Source
616
d6ef40187df115e88326dbc94f09ab9a.gif
Displaying Data
618
d6ef40187df115e88326dbc94f09ab9a.gif
Changing the Record Source from Code
619
d6ef40187df115e88326dbc94f09ab9a.gif
Using the DataGrid Control
619
d6ef40187df115e88326dbc94f09ab9a.gif
Getting Data into the Grid
620
d6ef40187df115e88326dbc94f09ab9a.gif
Setting Up the DataGrid
621
d6ef40187df115e88326dbc94f09ab9a.gif
Splitting Up the Grid
623
d6ef40187df115e88326dbc94f09ab9a.gif
Customizing the Grid's Layout
624
d6ef40187df115e88326dbc94f09ab9a.gif
Customizing the Grid with Code
626
d6ef40187df115e88326dbc94f09ab9a.gif
Using ActiveX Data Objects
627
d6ef40187df115e88326dbc94f09ab9a.gif
Making the Connection with ADO
627
d6ef40187df115e88326dbc94f09ab9a.gif
Working with Recordsets
630
d6ef40187df115e88326dbc94f09ab9a.gif
The Command Object
636
d6ef40187df115e88326dbc94f09ab9a.gif
Disconnected Recordsets
637
d6ef40187df115e88326dbc94f09ab9a.gif
Creating a Disconnected Recordset
637

 
< previous page page_xv next page >